package com.med.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class DoctorDO {

    private Integer doctorId;
    private Integer doctorAdminId;
    private String doctorName;
    private String doctorIdCard;
    private Integer doctorDepartmentId;
    private String doctorPhoneNumber;
    private Integer doctorLevelId;
    private Integer doctorMaxWorkHour;
    private Integer doctorRating;
    private String doctorDescription;
    private String doctorSpecialty;
    private Integer doctorStatus;
    private String departmentName;
    private Integer concernId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp doctorCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp doctorUpdateTime;
    private Integer doctorDelete;
    private DepartmentDO departmentDO;

    private String avatar;
}
